package com.smbms.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author Long
 * @since 2021-12-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("smbms_role")
@ApiModel(value="Role对象", description="")
public class Role implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "角色编码")
    @TableField("roleCode")
    private String rolecode;

    @ApiModelProperty(value = "角色名称")
    @TableField("roleName")
    private String rolename;

    @ApiModelProperty(value = "创建者")
    @TableField("createdBy")
    private Long createdby;

    @ApiModelProperty(value = "创建时间")
    @TableField("creationDate")
    private Date creationdate;

    @ApiModelProperty(value = "修改者")
    @TableField("modifyBy")
    private Long modifyby;

    @ApiModelProperty(value = "修改时间")
    @TableField("modifyDate")
    private Date modifydate;


}
